# encoding: utf-8

'''数据增强模块'''

import numpy as np

def mean_std(data: np.ndarray):
    if data.ndim > 1:
        data = data.flatten()
    return np.mean(data), np.std(data)